﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace CasaBella.Entities
{
    public class MARCA_IMPORTADO:BaseEntity
    {
        public MARCA_IMPORTADO()
        {
            this.MODELO_IMPORTADOs = new List<MODELO_IMPORTADO>();
        }

        public int Id { get; set; }

        [Display(Name = "Descripcion")]
        [Required(ErrorMessage = "La Descripción es requerida")]
        public string Descripcion { get; set; }

        public virtual ICollection<MODELO_IMPORTADO> MODELO_IMPORTADOs { get; set; }

        public override string ToString()
        {
            return Descripcion;
        }
    }
}
